class PrometheusMetric:
    NODE_SYSTEM_SIZE_TOTAL      = 'node_filesystem_size'
    NODE_SYSTEM_SIZE_AVAIL      = 'node_filesystem_avail'

    NODES_DOWN            = 'up{k8s_app="node-exporter"}==0'

    PODS_DEV_UTIL         = "DCGM_FI_DEV_GPU_UTIL"

    ALERTS                = 'ALERTS{alertstate="firing"}'

    CLUSTER_CPU           = '100-(avg by(job)(rate(node_cpu{mode="idle"}[1d]))*100)'

    CLUSTER_MEMORY        = "100*(sum(avg_over_time(node_memory_MemTotal[1d])) " \
                            "- sum(avg_over_time(node_memory_MemFree[1d])) " \
                            "- sum(avg_over_time(node_memory_Buffers[1d])) " \
                            "- sum(avg_over_time(node_memory_Cached[1d]))) " \
                            "/ sum(avg_over_time(node_memory_MemTotal[1d]))"

    CLUSTER_DEV_UTIL      = 'avg(avg_over_time(DCGM_FI_DEV_GPU_UTIL{container=~".*"}[1d]))/100 or vector(0)'

    CLUSTER_DEV_ALLOCATE  = '(count(DCGM_FI_DEV_GPU_UTIL{container=~".+"}) / count(DCGM_FI_DEV_GPU_UTIL) ) or vector(0)'






